//
//  ESTVerticalValueView.h
//  ESTSCRMAPP
//
//  Created by 李贤立 on 2018/9/28.
//  Copyright © 2018年 Capfer. All rights reserved.
//

#import "TYZView.h"
/**
 *  字体颜色
 */
typedef NS_ENUM(NSInteger, ESTVerticalValueViewBackgroundColor) {
    /**白色字体*/
    BackgroundColor_White = 0,
    /**黑色字体*/
    BackgroundColor_Black = 1,
    /**灰色字体*/
    BackgroundColor_Gray = 2,
    /**主题颜色字体*/
    BackgroundColor_Theme = 3,
};
@interface ESTVerticalValueView : TYZView
/**
 *  点击覆盖按钮的回调
 */
@property(nonatomic) void(^didClickCoverBlock)(void);

/**
 创建数值的View，默认是白色字体

 @param name 名称
 @param value 数值
 @return 控件
 */
+ (instancetype)valueViewWithName:(NSString *)name value:(NSString *)value;
+ (instancetype)valueViewWithName:(NSString *)name value:(NSString *)value backgroundColorModel:(ESTVerticalValueViewBackgroundColor)backgroundColorModel;
+ (instancetype)valueViewWithName:(NSString *)name value:(NSString *)value backgroundColorModel:(ESTVerticalValueViewBackgroundColor)backgroundColorModel nameFontSize:(CGFloat)nameFontSize;
@end
